mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05: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
24 lines
338 B
Docker
24 lines
338 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/auth
|
|
|
|
ENTRYPOINT [ "/workspace/packages/auth/docker/entrypoint.sh" ]
|
|
|
|
CMD [ "start-web" ]
|