Skip to content

Commit e06f28e

Browse files
committed
Recommiting dockerfile in hopes of squaring up with develop (currently loading two dockerfiles when pulling from develop -- unable to delete just one, preventing normal merge)
1 parent c0c500e commit e06f28e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use an official Node.js runtime as a parent image
2+
FROM node
3+
# Set the working directory to /app
4+
WORKDIR /app
5+
6+
ENV DOCKERVERSION=19.03.12
7+
8+
RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz \
9+
&& tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker \
10+
&& rm docker-${DOCKERVERSION}.tgz
11+
12+
13+
COPY package*.json ./
14+
15+
# Run npm install to install app dependencies
16+
RUN npm install
17+
18+
# Copy the current directory contents into the container at /app
19+
COPY . .
20+
21+
# Make port 4000 available to the world outside this container
22+
EXPOSE 4000
23+
24+
# Start the app
25+
CMD ["npm", "start"]
26+
27+

0 commit comments

Comments
 (0)