0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/Dockerfile
Ronald Langeveld 3bc6913bc2 Added init Docker files
ref  ENG-1594

- initial docker files, copy and pasted from our spike we did in Spain
  early this year. https://www.notion.so/ghost/Double-down-on-Docker-30cc59d498da44058fb64e0ce8bebff4
2024-10-07 14:31:22 +01:00

19 lines
208 B
Docker

FROM node:18.18.2
WORKDIR /app
COPY package.json ./
COPY yarn.lock ./
COPY . .
# Install node-gyp globally
RUN npm install -g node-gyp
RUN yarn install
RUN npm rebuild
EXPOSE 2368
CMD ["yarn", "dev"]