Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#133 [FEAT]: Answer approval and classroom ownership logic, improved handling of guest users, and general schema and seed fixes #134

9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy
# of the GNU General Public License along with PICCE-API. If not, see <https://www.gnu.org/licenses/>

FROM node:20-alpine
FROM node:22.14.0-alpine

WORKDIR /back/

COPY prisma/ /back/prisma
COPY prisma/ ./prisma/
COPY src/ /back/src
COPY uploads/ /back/uploads
COPY package.json /back/
COPY .env /back/

# Adicionar dependências para OpenSSL
RUN apk add --no-cache openssl3 libssl3
# RUN npm install
# Run Prisma commands
# RUN npx prisma generate
# RUN npx prisma db push
# RUN npx prisma migrate dev
# RUN npx prisma db seed

# CMD ["npm", "start"]
Loading