Skip to content

Commit 03efde5

Browse files
authored
Merge pull request #8 from fuzzing-unb/docker
rename folder app to workspace
2 parents f1e3b7f + a4cb417 commit 03efde5

18 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ ENV NODE_ENV=production
55
# Install nyc to get coverage, this is part of Istambul
66
RUN npm i -g nyc
77

8-
WORKDIR /usr/src/app
9-
COPY ./app /usr/src/app
8+
WORKDIR /usr/src/workspace
9+
COPY ./workspace /usr/src/workspace
1010

1111
EXPOSE 3000
1212

1313
# set user as node
14-
RUN chown -R node:node /usr/src/app
14+
RUN chown -R node:node /usr/src/workspace
1515
USER node

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
ports:
1313
- 3030:3000
1414
volumes:
15-
- ./app:/usr/src/app
15+
- ./workspace:/usr/src/workspace
1616
# command: tail -f /dev/null # keep open container
17-
command: node /usr/src/app/index.js # run index file
17+
command: node /usr/src/workspace/index.js # run index file
1818

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)