Test dockerfile
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5d4f04296a
commit
60c27b28b3
@ -1,16 +1,12 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:latest
|
||||
ENV NODE_ENV=production
|
||||
|
||||
ENV PORT=8080
|
||||
WORKDIR /app
|
||||
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
RUN npm publish
|
||||
ARG http_proxy=http://193.49.118.36:8080 https_proxy=http://193.49.118.36:8080
|
||||
COPY package*.json ./
|
||||
COPY . .
|
||||
|
||||
CMD [ "node", "server.js" ]
|
||||
RUN npm install
|
||||
RUN echo $?
|
||||
|
||||
#EXPOSE 8080
|
||||
#CMD [ "node", "server.js" ]
|
||||
|
Loading…
Reference in new issue