mistymountains/Dockerfile
Elizabeth Hunt e4bc47579c
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
fix docker
2024-05-01 01:03:23 -07:00

15 lines
510 B
Docker

FROM node:18-alpine
ENV VITE_SUPABASE_URL=https://ztxoywaazhxdeiftmsiy.supabase.co
ENV VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp0eG95d2Fhemh4ZGVpZnRtc2l5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2NDk3ODc5MzUsImV4cCI6MTk2NTM2MzkzNX0.-sgyODBi4MfiqQnZ4xFmAoPQOlyHejlghhAAyN0iLJk
ENV VITE_HCAPTCHA_KEY=36511980-ea6f-4a01-b9bc-5270d67c0702
COPY package*.json ./
RUN npm install
COPY --chown=node:node . .
RUN npm run build
EXPOSE 3000
CMD [ "node", "build/index.js" ]