From cbf400c11840803bf28a76b3977e0fbecc9fe94c Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sun, 14 Aug 2022 01:36:38 +0200 Subject: [PATCH] Implement simpler Dockerfile & use previous ci build steps --- Dockerfile | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index 54c3107..1516c54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,27 +1,8 @@ FROM nginx:1.23.1 -LABEL org.opencontainers.image.source https://github.com/kevinmidboe/seasoned -# RUN mkdir -p /opt/seasoned -# WORKDIR /opt/seasoned - -# COPY src /opt/seasoned/src -# COPY public /opt/seasoned/public COPY public /usr/share/nginx/html -# COPY yarn.lock /opt/seasoned -# COPY package.json /opt/seasoned -# COPY server.ts /opt/seasoned -# COPY webpack.config.js /opt/seasoned COPY nginx.conf /etc/nginx/conf.d/default.conf -# COPY tsconfig**.json /opt/seasoned/ - -# RUN chown -R node:node /opt/seasoned - -# USER node - -# RUN yarn install - -# RUN yarn build EXPOSE 5000 -# CMD ["yarn", "start"] +LABEL org.opencontainers.image.source https://github.com/kevinmidboe/seasoned