Commit d1c60255 authored by alain's avatar alain 🐙
Browse files

a working docker image...

parent ed8bc177
FROM node:14.5
WORKDIR /usr/src/app
EXPOSE 1337
COPY . .
WORKDIR /usr/src
RUN git clone https://gitlab.waag.org/code/public-stack-site.git
# frontend
RUN yarn global add gatsby-cli
RUN cd backend
RUN strapi start
WORKDIR /usr/src/public-stack-site/frontend
RUN yarn install
# backend
WORKDIR /usr/src/public-stack-site/backend
COPY backend/.tmp .tmp
RUN yarn install && yarn build
CMD ["yarn", "develop"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment