Change Dockerfile and docker-compose.yml file

This commit is contained in:
2021-04-16 23:35:22 +02:00
parent 98ebb6f01c
commit bd12fcc3df
2 changed files with 7 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
FROM node:15.8.0-alpine3.10
RUN mkdir -p /usr/src/nuxtapp
WORKDIR /usr/src/nuxtapp
RUN mkdir -p /usr/src/artsite
WORKDIR /usr/src/artsite
COPY nuxt-ts-app /usr/src/nuxtapp
COPY . /usr/src/artsite
RUN yarn install
@@ -11,6 +11,6 @@ RUN yarn build
EXPOSE 3333
COPY nuxt-ts-app .
COPY . .
CMD ["yarn", "start"]