forked from google/neuroglancer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include Dockerfile.dev and docs to run neuroglancer dev locally
- Loading branch information
Aaron Kanzer
authored and
Aaron Kanzer
committed
Oct 17, 2024
1 parent
4074c3c
commit dc45f8d
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# to run locally: | ||
# docker build -f Dockerfile.dev -t <some-awesome-app-name> . | ||
# docker run -v $(pwd):/app -p 8080:8080 --rm <some-awesome-app-name> | ||
|
||
FROM node:20.11.1 | ||
|
||
WORKDIR /app | ||
|
||
# Copy package.json and package-lock.json for installing dependencies | ||
COPY package*.json ./ | ||
|
||
# Install project dependencies | ||
RUN npm install | ||
|
||
# Copy the rest of your app's source code from your host to your image filesystem. | ||
COPY . . | ||
|
||
# Install project dependencies | ||
# RUN npm i | ||
|
||
# Vue CLI serves on port 8080 by default, expose that port | ||
# EXPOSE 8080 | ||
|
||
# Command to run the app using npm | ||
# CMD ["npm", "run", "dev-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters