@ -23,5 +23,5 @@ COPY package*.json .
|
||||
RUN yarn install --production
|
||||
COPY --from=build /build/dist ./dist
|
||||
COPY --from=build /build/build ./build
|
||||
EXPOSE 3001
|
||||
EXPOSE 3000
|
||||
CMD ["yarn", "serve"]
|
@ -8,7 +8,10 @@ const Posts: CollectionConfig = {
|
||||
},
|
||||
access: {
|
||||
read: () => true,
|
||||
create: () => true,
|
||||
update: () => true,
|
||||
},
|
||||
|
||||
fields: [
|
||||
{
|
||||
name: "title",
|
||||
|
Reference in New Issue
Block a user