Skip to content

Commit

Permalink
new dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Oct 6, 2023
1 parent 17a8876 commit d88f837
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# Dockerfile

FROM node:16-alpine

LABEL maintainer="me@nalbam.com" \
org.opencontainers.image.description="A Docker image for DeepRacer Timer" \
org.opencontainers.image.authors="Jungyoul Yu, me@nalbam.com, https://www.nalbam.com/" \
org.opencontainers.image.source="https://github.com/nalbam/deepracer-timer" \
org.opencontainers.image.title="deepracer-timer"

EXPOSE 3000
WORKDIR /data
ADD . /data
RUN npm run build

WORKDIR /usr/src/app

COPY . .

RUN npm install

CMD ["node", "server.js"]

0 comments on commit d88f837

Please sign in to comment.