mirror of
https://github.com/standardnotes/server.git
synced 2026-01-12 06:53:23 +00:00
* chore: release latest changes * update yarn lockfile * remove stale files * fix ci env * remove mysql command overwrite * remove mysql overwrite from example * fix cookie cooldown in memory
23 lines
352 B
Docker
23 lines
352 B
Docker
FROM node:20.10.0-alpine
|
|
|
|
RUN apk add --update \
|
|
curl \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
ENV NODE_ENV production
|
|
|
|
RUN corepack enable
|
|
|
|
COPY ./ /workspace
|
|
|
|
WORKDIR /workspace
|
|
|
|
RUN yarn install --immutable
|
|
|
|
RUN yarn build
|
|
|
|
WORKDIR /workspace/packages/api-gateway
|
|
|
|
ENTRYPOINT [ "/workspace/packages/api-gateway/docker/entrypoint.sh" ]
|
|
|
|
CMD [ "start-web" ]
|