Skip to content

Commit dcd9951

Browse files
authored
Merge pull request #1 from gsantandrea/gsantandrea-patch-1
add WORKDIR
2 parents 4306511 + 56d29f5 commit dcd9951

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Use the official image as a parent image
22
FROM node:12
33

4+
ENV CONTAINERHOME /home/node
45
RUN apt update; apt install git; apt clean;
56

67
RUN npm install -g purescript@0.13.6 --unsafe-perm;
@@ -11,5 +12,6 @@ USER node
1112
# Inform Docker that the container is listening on the specified port at runtime.
1213
EXPOSE 1234
1314

15+
WORKDIR $CONTAINERHOME
1416
# Run the specified command within the container.
1517
CMD [ "bash", "" ]

0 commit comments

Comments
 (0)