mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 21:03:07 +02:00
git-subtree-dir: Programming/ERSMS-project git-subtree-mainline:7861d69ae9git-subtree-split:d060e8285a
16 lines
236 B
Docker
16 lines
236 B
Docker
FROM node:latest
|
|
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
|
|
# If you also need http-server globally
|
|
RUN npm install -g http-server
|
|
|
|
# Bundle app source
|
|
COPY . .
|
|
|
|
EXPOSE 8080
|
|
CMD ["http-server", "-p 8080"]
|